package com.iplant.mes.service.po.sfc;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.utils.general.CalendarTool;

import java.util.Calendar;

/**
 * 工位接口日志
 *
 * @author YouWang·Peng
 * 2024-5-26 09:52:01
 */
public class SFCStationInterfaceLog {
    /**
     * 工位ID
     */
    public int StationID = 0;
    /**
     * 工位名称
     */
    public String StationName = "";
    /**
     * 工位编码
     */
    public String StationCode = "";
    /**
     * 操作工ID
     */
    public int OperatorID = 0;
    /**
     * 操作工名称
     */
    public String OperatorName = "";
    /**
     * 接口输入
     */
    public String InterfaceInput = "";
    /**
     * 接口输出
     */
    public String InterfaceOutput = "";
    /**
     * 请求时间
     */
    public Calendar RequestTime = CalendarTool.getBasicDate();
    /**
     * 响应时间
     */
    public Calendar ResponseTime = CalendarTool.getBasicDate();
    /**
     * 接口类型
     */
    public String InterfaceType = "";

    public SFCStationInterfaceLog() {
    }

    public SFCStationInterfaceLog(int stationID, String stationName, String stationCode, int operatorID,
                                  String operatorName, String interfaceInput, String interfaceOutput,
                                  Calendar requestTime, Calendar responseTime, String interfaceType) {
        StationID = stationID;
        StationName = stationName;
        StationCode = stationCode;
        OperatorID = operatorID;
        OperatorName = operatorName;
        InterfaceInput = interfaceInput;
        InterfaceOutput = interfaceOutput;
        RequestTime = requestTime;
        ResponseTime = responseTime;
        InterfaceType = interfaceType;
    }

    @JsonProperty("StationID")
    public int getStationID() {
        return StationID;
    }

    public void setStationID(int stationID) {
        StationID = stationID;
    }

    @JsonProperty("StationName")
    public String getStationName() {
        return StationName;
    }

    public void setStationName(String stationName) {
        StationName = stationName;
    }

    @JsonProperty("StationCode")
    public String getStationCode() {
        return StationCode;
    }

    public void setStationCode(String stationCode) {
        StationCode = stationCode;
    }

    @JsonProperty("OperatorID")
    public int getOperatorID() {
        return OperatorID;
    }

    public void setOperatorID(int operatorID) {
        OperatorID = operatorID;
    }

    @JsonProperty("OperatorName")
    public String getOperatorName() {
        return OperatorName;
    }

    public void setOperatorName(String operatorName) {
        OperatorName = operatorName;
    }

    @JsonProperty("InterfaceInput")
    public String getInterfaceInput() {
        return InterfaceInput;
    }

    public void setInterfaceInput(String interfaceInput) {
        InterfaceInput = interfaceInput;
    }

    @JsonProperty("InterfaceOutput")
    public String getInterfaceOutput() {
        return InterfaceOutput;
    }

    public void setInterfaceOutput(String interfaceOutput) {
        InterfaceOutput = interfaceOutput;
    }

    @JsonProperty("RequestTime")
    public Calendar getRequestTime() {
        return RequestTime;
    }

    public void setRequestTime(Calendar requestTime) {
        RequestTime = requestTime;
    }

    @JsonProperty("ResponseTime")
    public Calendar getResponseTime() {
        return ResponseTime;
    }

    public void setResponseTime(Calendar responseTime) {
        ResponseTime = responseTime;
    }

    @JsonProperty("InterfaceType")
    public String getInterfaceType() {
        return InterfaceType;
    }

    public void setInterfaceType(String interfaceType) {
        InterfaceType = interfaceType;
    }
}
